#ifndef __BSP_CSI_H
#define __BSP_CSI_H

#include "../../imx6ul/imx6ul.h"
#include "../gpio/bsp_gpio.h"
#include <stdbool.h>

void CSI_GPIO_INIT(void);
void CSI_INIT();
void CSI_Refresh_DMA(void);
void CSI_Enable_DMA(bool judge);
void CSI_DMA_Start_Addr(unsigned int buf);
void CSI_Set_Image_Parameter(unsigned short width, unsigned short height);

#endif
